package com.qiwo.common.domain;


import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 
 * <pre>
 *  @author  chenwenchao
 *  @date 2018-10-06 15:04:09
 * 
 * </pre>
 * <small> 2018-10-06 15:04:09 | chenwenchao</small>
 */
@Data
@SuppressWarnings("serial")
@TableName("tb_catalogother")
@EqualsAndHashCode(callSuper=true) 
public class CatalogotherDO extends Model<CatalogotherDO> implements Serializable{
	@TableId
	private Long id;

    /** 标题 */
    private String title;

    /** 内容 */
    private String content;

    /**
     * 商标分类id
     */
    @TableField("catalog_id")
    private Long catalogId;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
